package com.weipai.education.model;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
@Data
@Accessors(chain = true)
public class Document {
    
    @NotNull(message = "id不能为空")
    private Integer id;

    private Date createTime;

    private Date updateTime;

    @NotBlank(message = "文本内容不能为空")
    private String record;
    
}